import django_filters
from django.shortcuts import render
from django_filters.rest_framework import FilterSet, DjangoFilterBackend
from rest_framework.pagination import PageNumberPagination
from rest_framework import viewsets
from complaint import serializers
from complaint import models
# Create your views here.
class Page(PageNumberPagination):
    page_size = 2
    page_size_query_param = "size"

class Fib:
    def __init__(self,count):
        self.a=0
        self.b=1
        self.current=1
        self.count=count
    def __iter__(self):
        return self
    def __next__(self):
        if self.current<=self.count
            self.a,self.b=self.b,self.a+self.Fib
            self.current+=1
            return self.a
        else:
            raise StopIteration
count=int(input('请输入数字：'))
f=Fib(count)
print(list(f))
return Response("合并成功")
return Response("添加了一个dev分支")
return Response("zwj")
 



def index(self):
    return Response("我希望江停永远爱我")